package com.api.order;

import com.fengmi.order.entity.OmsOrder;
import com.fengmi.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("fengmi-order")
@RequestMapping("order")
public interface OrderApi {
    @RequestMapping("info/{ordersn}")
    public OmsOrder findOrderInfoByOrdersn(@PathVariable String ordersn);


    @RequestMapping("update/{ordersn}")
    public ResultVO update(@PathVariable String ordersn);
}
